package top.infopub.mgr.sg.service;


import java.util.List;

import top.infopub.generic.GenericService;
import top.infopub.mgr.common.vo.RspVo;
import top.infopub.mgr.sg.vo.CitySurveyVo;
import top.infopub.model.sg.CitySurvey;
import top.infopub.model.sg.CitySurveyAtt;

import com.github.pagehelper.Page;


public interface CitySurveyService extends GenericService<CitySurvey, String> {

    void addCitySurvey(CitySurvey citySurvey, List<CitySurveyAtt> fileAtts);

    boolean selectByCityName(String cityName);

    boolean selectByCityNameAndId(String cityName, String id);

    void updtCitySurvey(CitySurvey citySurvey, List<CitySurveyAtt> fileAtts);

    Page<CitySurvey> selectPageByDomainWhere(Page<CitySurvey> page, CitySurvey citySurvey);

    CitySurvey getByCityName(String cityName);

    CitySurvey selectByCityId(String sgCityId);

    String selectByAddressId(CitySurveyVo citySurveyVo);

    RspVo selectByAddress(String address);

    /** codegen **/

}
